<?php

class StarLng
{
    public static $data;
    
    public static function get($key)
    {
        if (isset(self::$data[$key])) {
            return self::$data[$key];
        }
        return "{$key}";
    }
    
    public static function set($key, $value)
    {
        self::$data[$key] = $value;
    }
    
    public static function load($filename)
    {
        self::$data = parse_ini_file($filename, false);
    }
}
